Internet Connection Sharing

Internet Connection Sharing
A component of Microsoft Windows
Details
Other names ICS
Included with Windows 98 Second Edition
Windows 2000
Windows XP
Windows Vista
Windows 7
Related components
Windows Firewall
Windows Security Center

Internet Connection Sharing (ICS) is the use of a device with Internet access such as 3G cellular service, broadband via Ethernet, or other Internet gateway as an access point for other devices. It was implemented by Microsoft as a feature of its Windows operating system (as of Windows 98 Second Edition and later) for sharing a single Internet connection on one computer between other computers on the same local area network. It makes use of DHCP and network address translation (NAT).

ICS offers configuration for other standard services and some configuration of NAT.

Contents

Operation

ICS routes TCP/IP packets from a small LAN to the Internet. ICS maps individual IP addresses of local computers to unused port numbers in the TCP/IP stack. Due to the nature of the NAT, IP addresses on the local computer are not visible on the Internet. All packets leaving or entering the LAN are sent from or to the IP address of the external adapter on the ICS host computer.

On the host computer the shared connection is made available to other computers by enabling ICS in Network Connections, and other computers that will connect to and use the shared connection. Therefore, ICS requires at least two network connections. Normally ICS is used when there are several network interface cards installed on the host. In special cases, only one network interface card is required and other connections may be logical. For example, the host may connect to Internet using a modem/router configured in the bridge mode and share the PPPoE connection with ICS.

Starting with Windows XP, there are some improvements to ICS. Internet Connection Sharing is integrated with UPnP, allowing remote discovery and control of the ICS host. It also has a Quality of Service Packet Scheduler component.[1] When an ICS client is on a relatively fast network and the ICS host is connected to the internet through a slow link, Windows may incorrectly calculcate the optimal TCP receive window size based on the speed of the link between the client and the ICS host, potentially affecting traffic from the sender adversely. The ICS QoS component sets the TCP receive window size to the same as it would be if the receiver were directly connected to the slow link.

Internet Connection Sharing also includes a local DNS resolver in Windows XP to provide name resolution for all network clients on the home network, including non-Windows-based network devices. ICS is also location-aware, that is, when connected to a domain, the computer can have a Group Policy to restrict the use of ICS but when at home, ICS can be enabled.

Limitations

However, while ICS makes use of DHCP, there is no way to review DHCP leases using ICS . The service is also not customizable in terms of which addresses are used for the internal subnet, and contains no provisions for bandwidth limiting or other features. ICS also was designed to connect only to Windows OS computers: computers on other operating systems will require different steps to be able to utilize ICS.[2][3]

The server will normally have the IP address 192.168.0.1 (changeable from the registry) and will provide NAT services to the whole 192.168.0.x subnet, even if the address on the client was set manually, not by the DHCP server. Windows 7 uses the subnet 192.168.137.x by default.

Besides making sure that the firewall settings are correct, for Windows XP hosts with more than one Ethernet interface card and a wireless WAN connection, bridging the Ethernet interface cards may help eliminating some ICS problems.

Windows XP SP3 bug

Windows XP Service Pack 3 (SP3) introduces a problem that causes loss of ICS connectivity after certain activities (like disconnecting the network cable). Restart of the ICS Windows service is required to resolve the condition. (eg. net stop SharedAccess & net start SharedAccess)

Other methods

With the advent of home and personal networking in the mid-to-late 2000s, routers, Wi-Fi access points, and other serial communication options have replaced widespread use of Internet Connection Sharing. These alternatives to using Internet Connection Sharing can utilize either dial-up networking (Most focus on the computer with a phone modem to act as a gateway server to the others sharing the connection) or other connection methods.

See also

References

  1. ^ Windows XP Quality of Service (QoS) enhancements and behavior
  2. ^ http://www.epinions.com/content_2836308100
  3. ^ http://www.annoyances.org/exec/show/ics_other
  4. ^ KB951446: Windows XP Service Pack 3-based computers in a private network that uses Internet Connection Sharing may lose network connectivity after you change the network adapter settings of the private adapter on the Internet Connection Sharing computer
  5. ^ KB951830: When you disable and then re-enable the LAN-side network adapter on a Windows XP SP3-based computer that is configured as a Connection Sharing host, a client computer on the network cannot access the Internet
  6. ^ Update for Windows XP (KB951830)

External links